package com.hzau.tourist_service_sys.service;

import com.hzau.tourist_service_sys.pojo.User;
import com.hzau.tourist_service_sys.result.Result;

public interface UserService {
    Result insert(User user);

    Result findById(Long id);

    User findByNameandPwd(String username, String password);
    int findByName(String username);
    int findByPhoneNumber(String PhoneNumber);
    int findByIdCard(String idCard);
}
